package com.easy.dao;

import com.easy.bean.Member;
import com.easy.bean.MemberType;
import com.easy.utils.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.tomcat.jni.Mmap;

import java.util.List;

@Mapper
public interface IMemberTypeDao {
    List<MemberType> getAllMemberType(@Param("memberType") MemberType memberType,@Param("page") Page page);
    int getMemberTypeCount(@Param("memberType") MemberType memberType);

    MemberType getMemberTypeByID(int id);

    int addMemberType(MemberType memberType);

    int delMemberType(int id);

    int editMemberType(MemberType memberType);


}
